package graph.drawingshapes
{
	import flash.display.Graphics;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	
	public class BaseFill extends EventDispatcher
	{
		public function BaseFill(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public virtual function beginFill(graphics:Graphics):Graphics
		{
			throw new Error("No implementation. Error!");
		}
		
		public virtual function endFill(graphics:Graphics):Graphics
		{
			graphics.endFill();
			return graphics;
		}

	}
}